package JSE_04.Demo03;

public class setThreadName extends Thread{
    public setThreadName(){

    }
    public setThreadName(String name){
        super(name);
    }

    @Override
    public void run(){
        System.out.println(Thread.currentThread().getName());
    }

}
